package com.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 描述：Medicine_info表的实体类
 * <p>
 * 作者：jiangjiahao
 * 时间：2023年06月28日 20:29
 */
public class Medicine_info {

    private Integer MEDICINE_ID;    // 药品编号
    private String NAME;            // 药品名称
    private String CATEGORY;        // 药品分类
    private Supplier_info supplier_info;    // 制造商
    private BigDecimal UNIT_PRICE;  // 单价
    private Integer QUANTITY;       // 库存数量
    private Date EXPIRATION_DATE;   // 过期日期
    private Integer STATUS;         // 状态

    public Medicine_info() {
    }

    public Medicine_info(Integer MEDICINE_ID, String NAME, String CATEGORY, Supplier_info supplier_info, BigDecimal UNIT_PRICE, Integer QUANTITY, Date EXPIRATION_DATE, Integer STATUS) {
        this.MEDICINE_ID = MEDICINE_ID;
        this.NAME = NAME;
        this.CATEGORY = CATEGORY;
        this.supplier_info = supplier_info;
        this.UNIT_PRICE = UNIT_PRICE;
        this.QUANTITY = QUANTITY;
        this.EXPIRATION_DATE = EXPIRATION_DATE;
        this.STATUS = STATUS;
    }

    @Override
    public String toString() {
        return "Medicine_info{" +
                "MEDICINE_ID=" + MEDICINE_ID +
                ", NAME='" + NAME + '\'' +
                ", CATEGORY='" + CATEGORY + '\'' +
                ", supplier_info=" + supplier_info +
                ", UNIT_PRICE=" + UNIT_PRICE +
                ", QUANTITY=" + QUANTITY +
                ", EXPIRATION_DATE=" + EXPIRATION_DATE +
                ", STATUS=" + STATUS +
                '}';
    }

    public Integer getMEDICINE_ID() {
        return MEDICINE_ID;
    }

    public void setMEDICINE_ID(Integer MEDICINE_ID) {
        this.MEDICINE_ID = MEDICINE_ID;
    }

    public String getNAME() {
        return NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getCATEGORY() {
        return CATEGORY;
    }

    public void setCATEGORY(String CATEGORY) {
        this.CATEGORY = CATEGORY;
    }

    public Supplier_info getSupplier_info() {
        return supplier_info;
    }

    public void setSupplier_info(Supplier_info supplier_info) {
        this.supplier_info = supplier_info;
    }

    public BigDecimal getUNIT_PRICE() {
        return UNIT_PRICE;
    }

    public void setUNIT_PRICE(BigDecimal UNIT_PRICE) {
        this.UNIT_PRICE = UNIT_PRICE;
    }

    public Integer getQUANTITY() {
        return QUANTITY;
    }

    public void setQUANTITY(Integer QUANTITY) {
        this.QUANTITY = QUANTITY;
    }

    public Date getEXPIRATION_DATE() {
        return EXPIRATION_DATE;
    }

    public void setEXPIRATION_DATE(Date EXPIRATION_DATE) {
        this.EXPIRATION_DATE = EXPIRATION_DATE;
    }

    public Integer getSTATUS() {
        return STATUS;
    }

    public void setSTATUS(Integer STATUS) {
        this.STATUS = STATUS;
    }
}



























